SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}Berlin{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}Berlin{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}' OR prCountry = 'Berlin') AND (prLocation LIKE '{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}/{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}/{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}' OR prCountry = '/') AND (prLocation LIKE '{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}Neu{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}' OR prCity = 'Neu' OR prZip = 'Neu' OR prStreet LIKE '{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}Neu{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}' OR prCountry = 'Neu') AND (prLocation LIKE '{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}Venedig{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}' OR prCity = 'Venedig' OR prZip = 'Venedig' OR prStreet LIKE '{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}Venedig{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}' OR prCountry = 'Venedig') AND (prLocation LIKE '{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}Germany{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}Germany{e28c78445a807443231d8fd5e019fbe4d1e03629de7c29c88e3e69f0eb08a943}' OR prCountry = 'Germany')